package com.geline.word.starter;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

/**
 * word上传解析自动加载配置
 * @author: mengxin
 * @date: 2022/10/20 9:45
 */
@EnableConfigurationProperties(value = SdkWordProperties.class)
public class SdkWordAutoConfiguration {

    @Bean
    public SdkWordService initSdkWordService(SdkWordProperties properties){
        return new SdkWordService(properties);
    }
}
